import java.io.Serializable;
import java.sql.Date;
import java.text.SimpleDateFormat;
import java.util.List;



    class information implements Serializable {
        /**
		 * 
		 */
		private static final long serialVersionUID = 5166054056992629497L;
		private String sno;
		private int isadmin;
        private String name;
        private String password;
        private int amount;
        private String address;
        private String birthday;
        private String school;
        private String phone;
        private String sex;
        private String grade;
        private int age;
        private String Likebest;

        public information() { }


        public information(String sno, String name, String password)
        {
            this.sno = sno;
            this.name = name;
            this.password = password;
        }
        public information(String sno, String name, String password, int amount, String address, String birthday, String school, String phone, String sex, String grade, Integer age,String Likebest)
        {
            this.sno = sno;
            this.name = name;
            this.password = password;
            this.amount = amount;
            this.address = address;
            this.birthday = birthday;
            this.school = school;
            this.phone = phone;
            this.sex = sex;
            this.grade = grade;
            this.age = age;
            this.Likebest = Likebest;
        }

		public String getSno()
        {
            return this.sno;
        }

        public void setSno(String sno)
        {
            this.sno = sno;
        }
        public String getName()
        {
            return this.name;
        }

        public void setName(String name)
        {
            this.name = name;
        }
        public String getPassword()
        {
            return this.password;
        }

        public void setPassword(String password)
        {
            this.password = password;
        }
        public int getAmount()
        {
            return this.amount;
        }

        public void setAmount(int amount)
        {
            this.amount = amount;
        }
        public String getAddress()
        {
            return this.address;
        }

        public void setAddress(String address)
        {
            this.address = address;
        }
        public String getBirthday()
        {
            return this.birthday;
        }
        
        public String getFormatTime(){
            SimpleDateFormat myFormat = new SimpleDateFormat("HH:mm yyyy/M/d"); 
            return myFormat.format(this.birthday);
        }
        
        
        public void setBirthday(String birthday)
        {
            this.birthday = birthday;
        }
        public String getSchool()
        {
            return this.school;
        }

        public void setSchool(String school)
        {
            this.school = school;
        }
        public String getPhone()
        {
            return this.phone;
        }

        public void setPhone(String phone)
        {
            this.phone = phone;
        }
        public String getSex()
        {
            return this.sex;
        }

        public void setSex(String sex)
        {
            this.sex = sex;
        }
        public String getGrade()
        {
            return this.grade;
        }

        public void setGrade(String grade)
        {
            this.grade = grade;
        }
        public int getAge()
        {
            return this.age;
        }

        public void setAge(int age)
        {
            this.age = age;
        }

        public void setLikebest(String likebest)
        {
            this.Likebest = likebest;
        }
        public String getLikebest()
        {
            return this.Likebest;
        }

		public int getIsadmin() {
			return isadmin;
		}

		public void setIsadmin(int isadmin) {
			this.isadmin = isadmin;
		}
        
    }

